//
//  TShareView.h
//  Traceability
//
//  Created by ZhaoDongBo on 16/8/2.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef NS_ENUM(NSUInteger, TSHAREVIEW_BUTTON_TYPE) {
    TSHAREVIEW_MESSAGES_BUTTON_TYPE,
    TSHAREVIEW_MAIL_BUTTON_TYPE,
    TSHAREVIEW_FACEBOOK_BUTTON_TYPE,
    TSHAREVIEW_TWITTER_BUTTON_TYPE
};

@interface TShareView : UIView

@property (nonatomic, copy) void(^shareViewButtonActionBlock)(TSHAREVIEW_BUTTON_TYPE);

@property (nonatomic ,copy) void (^dismissViewBlock)();

/**
 *  打开分享
 */
- (void)shareViewOpen;

/**
 *  关闭分享View
 */
- (void)shareViewClose;

@end
